<?xml version='1.0' encoding='ISO-8859-1' ?>
<!DOCTYPE HTML>

<ui:composition template="/dinamic/template/template.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">
	
	<ui:define name="conteudo">
		<h:form id="form">
        	 <p:growl id="growl" showDetail="true"/>
        	 	<p:dataTable var="car" value="#" resizableColumns="true" id="basicTable">
					<p:ajax event="colResize" update=":form:growl" />
			        <f:facet name="header">
			            Assunto
			        </f:facet>
			        <p:column headerText="Usuario" width="20%">
			            <h:outputText value="#{postagem.usuario}" />
			        </p:column>
			        <p:column headerText="Mensagem" width="80%">
			           <h:outputText value="#{postagem.mensagem}" />
			        </p:column>
  				  </p:dataTable>
		</h:form>				
	</ui:define>
</ui:composition>
